package com.cy.device.utils;

import java.util.Random;

/**
 * @author: jiangwang
 * @created: 2023/10/25 11:04
 */
public class RandomUtil {

    /**
     * 随机生成一个8位数
     *
     * @return
     */
    public static int generateRandomNumber() {
        Random random = new Random();
        // 生成一个随机的8位数
        return 10000000 + random.nextInt(90000000);
    }

}
